package Model;

/**
 * Abstraction-Occurrence design pattern. 
 * @author Yury Kitaev
 *
 */
public class EventSpecification 
{
	private String title; // The type of the event
	private boolean isHeld;	 // Whether or not it is being organized or not. Instead of deleting events, we can simply deactivate them to keep references alive.
	
	/**
	 * Constructor
	 * @param title The name of the event
	 * @param isHeld Whether or not this event is still being helt by the Theatre
	 */
	public EventSpecification(String title, boolean isHeld) {
		super();
		this.title = title;
		this.isHeld = isHeld;
	}

	public String getTitle() 
	{
		return title;
	}

	public void setTitle(String title)
	{
		this.title = title;
	}

	public boolean isHeld()
	{
		return isHeld;
	}

	public void setHeld(boolean isHeld) 
	{
		this.isHeld = isHeld;
	}
}
